package com.qf.dao;

import com.qf.entity.LivedPet;


import java.sql.SQLException;
import java.util.List;


public interface LivedPetDao {
    //查询 分页
    Integer selectLivedPetCount(String name,String startTime,String endTime,String type) throws SQLException;
    List<LivedPet> selectLivedPetList(String name,String startTime,String endTime,String type,Integer currentPageNo,Integer pageSize) throws SQLException;
    //增加活体
    int add(LivedPet livedPet) throws SQLException;
    int update(LivedPet livedPet) throws SQLException;
    int delete(String lid) throws SQLException;
    //根据点击时间查找时间数据
    List<LivedPet> selectLivedPetByTime (String time) throws SQLException;


}
